﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Order.Interstructrue.Migrations
{
    /// <inheritdoc />
    public partial class RemoveInterrogationIdFromOrderAddToInterrogation : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "InterrogationId",
                table: "InterrogationOrder");

            migrationBuilder.AddColumn<int>(
                name: "InterrogationOrderId",
                table: "Interrogation",
                type: "int",
                nullable: true);
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "InterrogationOrderId",
                table: "Interrogation");

            migrationBuilder.AddColumn<int>(
                name: "InterrogationId",
                table: "InterrogationOrder",
                type: "int",
                nullable: true);
        }
    }
}
